import { ElMessage } from "element-plus";

export function tipSuccess(msg: string) {
    ElMessage({
        message: msg,
        type: 'success',
        duration: 1 * 1000
    })
}

export function tipFailure(msg: string) {
    ElMessage({
        message: msg,
        type: 'error',
        duration: 1 * 1000
    })
}   